package de.gameduell.framework.application.level {
	import flash.events.Event;

	/**
	 * @author daal
	 */
	public class LevelEvent extends Event {

		public static const LEVEL_START:String = "levelStart";		public static const LEVEL_COMPLETE:String = "levelComplete";		public static const LEVEL_FAIL:String = "levelFail";
		public static const LEVEL_CREATED:String = "levelCreated";
		public static const GAME_OVER:String = "gameOver";
		private var _level:Level;

		public function LevelEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
		}

		public function get level():Level {
			return _level;
		}

		public function set level(level:Level):void {
			_level = level;
		}
	}
}